package com.jr.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@ToString
@Component
@NoArgsConstructor
@AllArgsConstructor
public class Flights {
        private int id;//航班id
        private String flightcode;//航班编号
        private Date flightdate;//航班日期
        private String airline;//所属航空公司
        private String type;//机型
        private int takeairportid;//起飞机场id
        private int landingairportid;//降落机场id
        private Date taketime;//起飞时间
        private Date landingtime;//降落时间
        private String flighttime;//飞行时长
        private String stopairport;//经停机场
        private Double referenceprice;//参考报价



}
